package com.wlw.admin.openeye.mvp.contract

import com.wlw.admin.openeye.base.IBaseView
import com.wlw.admin.openeye.base.IPresenter
import com.wlw.admin.openeye.mvp.model.bean.HomeBean

interface RankContract {
    interface View : IBaseView {
        fun setRankList(itemList: ArrayList<HomeBean.Issue.Item>)
        fun showError(errorMsg: String, errorCode: Int)
    }

    interface Presenter : IPresenter<View> {
        fun requestRankList(apiUrl: String)
    }
}